package com.example.idemfactor.app.service.impl;

import com.example.idemfactor.sdk.interfaces.IdemKeyGenerator;
import org.springframework.stereotype.Component;

import java.lang.reflect.Method;

@Component
public class MyKeyGenerator implements IdemKeyGenerator {

    @Override
    public String generate(Object target, Method method, Object... params) {
        return target.getClass().getSimpleName()+"."+method.getName();
    }
}